package com.mt.restaurant.entity.staff;

import javax.persistence.*;
import java.io.Serializable;
import com.mt.common.core.annotation.DColumn;
import com.mt.common.core.annotation.DEntity;
import com.mt.common.core.web.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;




@DEntity(label="角色薪资",comment="",moduleLabel="人员管理")
@Entity(name="restaurant_role_salary")
@Table(name = "restaurant_role_salary" , indexes = {   })
@ApiModel(description = "角色薪资:")
public class RoleSalary extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@DColumn(index=3,label="员工角色",comment="名称",component="文本",where=false)
	@ApiModelProperty(value = "员工角色:名称")
	@Column(name="role",length=255,nullable=false,unique=false)
	private String role;

	@DColumn(index=4,label="薪资",comment="基本公子",component="数字，整数",where=false)
	@ApiModelProperty(value = "薪资:基本公子")
	@Column(name="salary",length=255,nullable=false,unique=false)
	private Integer salary;


	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public Integer getSalary() {
		return this.salary;
	}

	public void setSalary(Integer salary) {
		this.salary = salary;
	}



}
